frontend: storybook: Add descriptive titles to AuthToken stories#4676
frontend: storybook: Add descriptive titles to AuthToken stories#4676mastermaxx03 wants to merge 1 commit intokubernetes-sigs:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mastermaxx03 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
10b987f to
148fc13
Compare
|
@illume I think the simplest solution to fix the two issues was to change the titles manually. Let me know if this works! |
|
Hello. unfortunately this is not right. Have a look at this snapshot file to see the heading levels. it should be h1 I see in this snapshot that the h1 is after the h2, and that some headings are empty. |
Summary
Changed
AuthTokenstory titles from generic "a title" to "Authentication Token" and "Authentication Error" to fix accessibility violations.Related Issue
Fixes #4594, #4595
Changes
ShowErrorstory.ShowActionsstory.Screenshots
Steps to Test
npm run storybookin thefrontenddirectory.AuthTokenin the sidebar.ShowErrorandShowActionsstories to verify the titles are no longer placeholders.